from videotoolbox import VideoToolBox
import os


def VideoTransformMp4():
    source_video_folder_path = input("请输入原始视频文件的存放文件夹路径：\n")
    print(source_video_folder_path)
    save_video_folder_path = input("请输入转换后视频文件的存放文件夹路径：\n")
    print(source_video_folder_path)
    video_format_name = "mp4"
    print("默认转换为%s格式的视频文件" % video_format_name)
    VideoToolBox.BatchTransformVideoFormat(source_video_folder_path, save_video_folder_path, video_format_name)
    return


def VideoFileCompose():
    multipleVideoFilePathList = [
        r"D:\迅雷下载\againi0307@www.sexinsex.net@走光系列\走光.flv",
        r"D:\迅雷下载\againi0307@www.sexinsex.net@走光系列\走光2.flv",
        r"D:\迅雷下载\againi0307@www.sexinsex.net@走光系列\走光3.flv",
        r"D:\迅雷下载\againi0307@www.sexinsex.net@走光系列\走光4.flv",
        r"D:\迅雷下载\againi0307@www.sexinsex.net@走光系列\走光5.flv"]
    singleVideoFilePath = r"D:\迅雷下载\走光系列.mp4"
    VideoToolBox.MultipleVideoComposeSingleVideo(multipleVideoFilePathList, singleVideoFilePath)
    return


def main():
    VideoFileCompose()
    return


if __name__ == "__main__":
    main()
